package com.mapper;

import com.javabean.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ProductMapper {
    @Select("select * from product where productName like concat('%',#{productName},'%')")
    List<Product> selectLikeProductName(String productName);
}
